PATH![]() |
![]() ![]() |
Dissociates a file from a window.
pascal OSStatus RemoveWindowProxy (WindowPtr window);
The RemoveWindowProxy function redraws the window title bar after removing all data associated with a given file, including the proxy icon, path menu, and file data.
With Mac OS 8.5, you must save and restore the current graphics port--by calling the QuickDraw functions GetPort and SetPort --around each call to the RemoveWindowProxy function. See Supporting Window Proxy Icons for examples of how your application can provide proxy icon support in its document windows.